<style type="text/css">
    .modal .segment{margin-top: -1.2em;}
    .ui.modal .ui.form .field>.selection.dropdown { width: 250px;}
</style>
<div class="cont">
    <div class="position " id="page_title">
        <img alt="位置图标" src="dist/images/position.png"/>企业号&gt;企业号管理
        <a ng-click="openDetail()" ng-hide="$needClientCache" title="打开新窗口查看"><i class="large External icon"></i>
        </a>
    </div> 
    <div class="mybackground">
        <div class="cont_fr_top">
              <div class="menus">
                <div class="menus_con">
                    <div class="ui form">
                        <div class="four fields">
                            <div class="inline field">
                                <label>企业号名称：</label>
                                <input type="text" ng-model="search_param.name" ng-keyup="enterSearch($event)" placeholder="企业号名称"  style="width:160px">
                            </div>
                        </div>
                        <div class="fields">
                            <div class="inline field">
                                <button class="clear_btn" style="margin-left: 6.3em;" ng-click="search()">查询</button>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
    </div>
    <div class="menus">
        <div class="menus_table">
            <table class="ui celled yellow striped table">
                <thead>
                    <tr>
                        <th style="min-width:70px;">企业号名称</th>
                        <th style="min-width:3000px;">企业号介绍</th>
                        <th>所属产品线</th>
                        <th class="center aligned">操作</th>
                    </tr>
                </thead>
                <tbody ng-hide="exist">
                    <tr ng-repeat="vlist in qyListData">
                        <td>{{::vlist.qy_name}}</td>
                        <td>{{::vlist.qy_description}}</td>
                        <td>{{::vlist.line_name}}</td>
                        <td class="center aligned">
                            <a class="ui link" ng-click="viewQyDetail(vlist.qy_code)">查看详情</a>    
                            <a class="ui link" ng-click="viewQyApp(vlist.qy_code)">查看栏目</a>    
                        </td>
                    </tr>
                </tbody>
                <tbody ng-show="!qyListData || qyListData.length == 0">
                    <tr>
                        <td colspan=4 style="text-align:center;margin-top:10px" class="null_data">没有找到数据~~~</td>
                    </tr>
                </tbody>
            </table>
            <div class="ui pagination menu" jspagination page-object="qyPage" page-func="getDataList" ng-show="qyPage.pageAll>1"></div>
        </div>
    </div>
</div>

<!-- 企业号详情弹出层开始 -->
<div class="ui detail small modal">
    <i class="close icon"></i>
    <div class="header_h4">企业号详情</div>
        <div class="content">
            <div class="ui form">
            <form style="margin-top:10px">
                <div class="two fields">
                    <div class="field">
                        <b style="vertical-align: middle;">&nbsp;&nbsp;</b>
                        <span>
                            <img ng-src="{{detailData.qy_logo}}" style="width: 70px; vertical-align: middle; background: #e43536; border-radius: 50%;height:70px;">
                        </span>
                    </div>
                </div>
                <div class="two fields">
                    <div class="field">
                        <b>名称：</b>
                        <span>{{detailData.qy_name}}</span>
                    </div>
                </div>
                <div class="fields">
                    <div class="field">
                        <b>介绍：</b>
                        <span>{{detailData.qy_description}}</span>
                    </div>
                </div>
                <div class="fields">
                    <div class="field">
                        <b>所属产品线：</b>
                        <span>{{detailData.line_name}}</span>
                    </div>
                </div>
            </form>
        </div>
    </div>
    <div class="actions"  >
        <button class="ui green button positive">{{'BTN_OK' | translate}}</button>
    </div>
</div>
<!-- //企业号详情弹出层结束 -->